package com.liveinstars.im;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;


@SpringBootApplication(scanBasePackages = {"com.liveinstars.im", "com.liveinstars.api",   "com.onepiece.cache"})
@MapperScan("com.liveinstars.im.**.mapper")
@EnableEurekaClient
@EnableFeignClients(basePackages = {"com.liveinstars.api"})
public class IMApplication {


    public static void main(String[] args) {
        SpringApplication.run(IMApplication.class, args);
    }

}
